package com.dd.dao;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Repository;

@Repository
public class BaseDao {
    @Value("${driver}")
    private String driver;
    @Value("${url}")
    private String url;
    @Value("${user}")
    private String user;
    @Value("${password}")
    private String password;

    public void showBase(){
        System.out.println("driver驱动是"+driver);
        System.out.println("url地址是"+url);
        System.out.println("user用户名是"+user);
        System.out.println("password密码是"+password);
    }
}
